package com.thl.openfeign;

import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

//@FeignClient(value = "ruoyi-student",fallbackFactory = StudentFeignClientFallbackFactory.class)
public interface StudentFeignClient {

    @GetMapping(value = "/student/{id}")
     AjaxResult getInfo(@PathVariable("id") Long id);
}
